/*
 * team.h
 *
 *  Created on: 25/02/2012
 *      Author: Manuel Cortés / Juan Castellanos
 */

#include "team.h"


team::team( void )
{
	name = "NoName";
	ID = 0;
}

team::team( string name, int ID )
{
	this->name = name;
	this->ID = ID;
}

team::~team( void )
{
	cout << "Deleting " << name << endl;
}	

void team::setName( string name )
{
	this->name = name;
}

void team::setID( int ID )
{
	this->ID = ID;
}

string team::getName( void )
{
	return name;
}

int team::getID( void )
{
	return ID;
}	

void team::print( void )
{
	cout << "Equipo " << getName() << " inscrito." << endl;
}	
